package history;

import java.util.Comparator;

import common.Data;

class ByDateOrdering implements Comparator<Data> {

	@Override
	public int compare(Data o1, Data o2) {
		return o1.getDate().compareTo(o2.getDate());
	}

}
